package com.jic.market.service.rest.allocation;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.rest.allocation.QueryAllocationAndThemeInfoRequest;
import com.jic.market.request.rest.allocation.UpdateAllocationInfoRequest;
import com.jic.market.response.rest.allocation.QueryAllocationAndThemeInfoResponse;

import java.util.List;

/**
 * @author : xuyongliang
 * @date : 2020/4/10 2:45 下午
 * @description: 分摊rest服务
 * @modified By:
 * @version: V1.0
 */
public interface AllocationRestService {

    /**
     * 根据活动编码，查询分摊信息以及所对应的活动信息
     *
     * @param request
     * @return
     */
    RestResult<List<QueryAllocationAndThemeInfoResponse>> queryAllocationAndThemeInfo(QueryAllocationAndThemeInfoRequest request);

    /**
     * 同步分摊信息接口
     *
     * @param request
     * @return
     */
    RestResult<Boolean> updateAllocationInfo(UpdateAllocationInfoRequest request);

}
